@import url("https://fonts.googleapis.com/css?family=Poppins");

/* Global styles */
* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #2ecc71;
}

/* head */

.menu-btn {
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  display: none;
}

.navbar {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.4);
  height: 80px;
  z-index: 999;
}

.navbar .logo {
  width: 150px;
  height: 80px;  
  margin-left: 30px;
}
.navbar .logo img {
  width: 150px;
  height: 100%;
}

.navbar .menu li {
  list-style: none;
  display: inline-block;
}

.navbar .menu li a {
  display: block;
  margin-left: 20px;
  color: white;
  border-bottom: 4px solid transparent;
  text-decoration: none;
  font-size: 20px;
  font-size: 20px;
  font-weight: bold;
  padding: 6px 13px;
  border-radius: 3px;
}

.navbar .menu li a.active,
.navbar .menu li a:hover {
  background-color: white;
  color: #27ae60;
}

.navbar .menu li a i {
  color: white;
}

/* Page container */
.container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

#mainheader {
  margin-top: 30px;
  text-align: center;
  align-content: center;
  justify-content: center;
  color: white;
  padding: 20px;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 3em;
}
h1 {
  color: #4caf50;
  padding: 0;
}

/* Form styles */
.formdivBox {
  position: relative;
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 20px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
}
.firstFormBox {
  margin-top: 5px;
  width: 45%;
  margin-right: 10px;
}
#secondFormBox {
  margin-top: 10px;
  width: 45%;
  padding: 5px;
}

form label {
  display: block;
  margin-bottom: 10px;
}

/* input styles */
.message {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
  height: 100px;
}
input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
input[type="checkbox"] {
  margin-left: 20px;
  margin-right: 10px;
  accent-color: #2c7c72;
}
input {
  caret-color: #27ae60;
}
input:focus {
  border: 1px solid #000;
}
input::placeholder {
  color: #999;
}
.submit {
  background-color: #27ae60;
  color: white;
  padding: 16px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s;
}

.submit:hover {
  box-shadow: 0 0 0 4px #fff, 0 0 0 8px #27ae60;
}

/* red asterik to all required fields */
.required::after {
  content: "*";
  color: red;
}

/* contact styles */
.contact {
  max-width: 100%;
  position: relative;
  height: 100%;
  background-color: #0e3959;
  margin-top: 20px;
  border-radius: 5px;
  display: flex;
}

.contactinfo {
  padding: 40px;
  width: 80%;
  border-radius: 5px;
}
.contactinfo .infobox div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.contactinfo .infobox div span {
  min-width: 40px;
  height: 40px;
  color: #fff;
  background: #4caf50;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  border-radius: 50%;
  margin-right: 15px;
}
.contactinfo .infobox div p {
  color: #fff;
  font-size: 1.1em;
}
.contactinfo .infobox div a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
}

.socialicons {
  margin-top: 40px;
  display: flex;
  position: relative;
  right: 45px;
}
.socialicons li {
  list-style: none;
  margin-right: 15px;
}
.socialicons li a {
  font-size: 2em;
  color: #ccc;
}
.socialicons li a:hover {
  color: #4caf50;
}

@keyframes circle-swoop {
  from {
    clip-path: var(--circle-top-right-out);
  }
  to {
    clip-path: var(--circle-bottom-right-in);
  }
}

.--in-custom {
  --transition__duration: 1s;
  --transition__easing: ease-in-out;
  animation-name: circle-swoop;
}

/* contact map styles */
.contactmap {
  border-radius: 5px;
  width: 100%;
}
.contactmap iframe {
  height: 100%;
  width: 100%;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

/* Media queries for responsive design */

/* Small screens */
@media only screen and (max-width: 767px) {
  .menu-btn {
    display: block;
    z-index: 999;
  }

  .menu-btn i.active::before {
    content: "\f00d";
  }

  .navbar {
    width: 100%;
    height: 50px;
  }
  .navbar .logo {
    width: 120px;
    height: inherit;
    margin-left: 15px;
  }
  .navbar .logo img {
    height: inherit;
    width: inherit;
  }

  .navbar .menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: -16px;
    bottom: 0;
    background-color: #055423;
    text-align: center;
    transition: all 0.3s ease;
  }
  .navbar .menu.active {
    padding: 0;
    padding-top: 80px;
    left: 0;
  }

  .navbar .menu li {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }

  .navbar .menu li a {
    margin: 10px 0;
    font-size: 25px;
  }
  
  footer {
      padding: 10px;
      font-size: 13px;
    }
  .container {
    max-width: 100%;
  }

  .formdivBox {
    flex-direction: column;
    padding: 10px;
  }

  .firstFormBox,
  #secondFormBox {
    position: static;
    width: 100%;
    margin-bottom: 20px;
  }
  #secondFormBox {
    border-top: 2px solid #0e3959;
  }

  .contact {
    flex-direction: column;
  }
  .contactmap {
    position: inherit;
    border-radius: 5px;
    max-width: 100%;
    max-height: 100%;
  }

  .contactinfo {
    max-width: 100%;
    padding: 20px;
    margin-bottom: 20px;
  }

  .contactmap iframe {
    height: inherit;
    max-width: inherit;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }
}

/* Medium screens */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .menu-btn {
    display: block;
    z-index: 999;
  }

  .menu-btn i.active::before {
    content: "\f00d";
  }

  .navbar {
    width: 100%;
    height: 70px;
  }
  .navbar .logo {
    width: 120px;
    height: inherit;
    margin-left: 15px;
  }
  .navbar .logo img {
    height: inherit;
    width: inherit;
  }

  .navbar .menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: -16px;
    bottom: 0;
    background-color: #055423;
    text-align: center;
    transition: all 0.3s ease;
  }
  .navbar .menu.active {
    padding: 0;
    padding-top: 80px;
    left: 0;
  }

  .navbar .menu li {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }

  .navbar .menu li a {
    margin: 10px 0;
    font-size: 25px;
  }
  
  

  .container {
    padding: 15px;
  }

  .formdivBox {
    width: 100%;
    height: auto;
    padding: 15px;
    flex-direction: column;
  }
  .firstFormBox,
  #secondFormBox {
    width: 100%;
    margin-bottom: 20px;
  }
  #secondFormBox {
    border-top: 2px solid #0e3959;
  }
  .contact {
    max-width: 100%;
    height: 526px;
    margin-top: 20px;
  }
  .contactinfo {
    border: inherit;
    max-width: 46%;
    padding: 30px;
  }
  .contactmap {
    border: inherit;
    max-width: 55.1%;
    height: 100%;
  }
  .contactmap iframe {
    border: inherit;
    height: inherit;
    max-width: 100%;
  }
}
